import request from '@/utils/request'
export function fetchChatterList(params) {
  return request({
    url:'/user/admin/chatter/chatList',
    method:'post',
    headers: {
      'Content-Type': 'application/json'
    },
    data:params
  })
}

export function fetchAddChatter(params) {
  return request({
    url:'/user/admin/chatter/chatterAdd',
    method:'post',
    data:params
  })
}

export function fetchDeleterChatter(params) {
  return request({
    url:'/user/admin/chatter/chatterDelete',
    method:'post',
    data:params
  })
}

export function fetchBindModel(params) {
  return request({
    url:'/user/admin/chatter/bindModel',
    method:'post',
    data:params
  })
}

export function fetchUnBindChatter(params) {
  return request({
    url:'/user/admin/chatter/unbindModel',
    method:'post',
    data:params
  })
}

export function fetchLookPassword(params) {
  return request({
    url:'/user/admin/model/viewPassword',
    method:'post',
    data:params
  })
}

export function fetchResertPassword(params) {
  return request({
    url:'/user/admin/model/resetPassword',
    method:'post',
    data:params
  })
}